pp108 : Repetitive Validation

Repetitive Validation

This topic describes the way in which WS-AppServer performs repetitive validation.


During runtime, when values within an object keep changing as a result of constant updates, the validate request is triggered repetitively until the transaction ends. In such situations, to avoid performance issues, WS-AppServer employs a technique to omit those elements that are already validated and remain unchanged during the rest of the transaction. All such elements are tagged with an attribute calledPreVal. When the cyclic activity of validation happens, any element that has this attribute is compared with the current value. If both the values are same, WS-AppServer ignores the element and passes over to the next element. However, if it detects that the value of the element withPreValattribute does not match the current value of the element, it triggers the constraint listener. The constraint listener searches for the availability of the changed value and updates the element accordingly. If it does not find the current value, it returns an error message, which is included in the response.

For further details on this attribute, see WS-AppServer SDK.

Related reference

ValidateObject
Validate BusObject SOAP Request
Initialization of Objects and Attributes
Constraint Logic on Objects and Attributes